package com.cqgc.service;

import com.cqgc.domain.Colony;
import com.cqgc.domain.Harvest;
import com.cqgc.domain.PageHelper;

import java.util.List;

public interface ColonyService {
    int delColony(Colony colony);

    int stopUse(Colony colony);
    int update(Colony colony);

    int addColony(Colony colony);

    List<Colony> findByFather(int fid);

    List<Colony> findAll();
    List<Colony> findGood();
    List<Colony> findStop();
    List<Colony> searchC(String colony);
    List<Colony> findPage(PageHelper pageHelper);
}
